package routes

import (
	"gitee.com/song-yao-shun/MQH/middleware"
	"github.com/gin-gonic/gin"
)

func CollectRoute(r *gin.Engine){
	r.Use(middleware.CORSMiddleware(), middleware.RecoveryMiddleware())

	AuthRoutes(r)
	UserRoutes(r)
	ApplicationRoutes(r)
	CategoryRoutes(r)
	PostRoutes(r)
	QnRoutes(r)
	PageRoutes(r)
	FctRoutes(r)
	SceneRoutes(r)
	TsRoutes(r)
	DictRoutes(r)
	NodeRoutes(r)
	TCaseRoutes(r)
}